import { defineStore } from 'pinia'

export const useFormDesignerStore = defineStore('FormDesignerStore', {
  state: () => ({
    formJson: []
  }),
  getters: {
    getFormJson: (state) => state.formJson
  },
  actions: {
    setFormJson(newFormJson) {
      this.formJson = newFormJson
    }
  }
})
